package com.gopay.common.domain.acps;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author baiyunpeng
 *         反诈骗平台  冻结余额记录
 * @2016年11月14日 下午3:36:05  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "FRAUD_ACCT_OPERAT_LOGS")
public class FraudAcctOperationLogs implements Serializable {
    private int LogId;
    private String acctId;
    private String operationType;
    private BigDecimal amount;
    private String lockType;
    private String operaRes;
    private Date gmtCreate;
    private Date gmtModify;
    private String gopayOrderId;
    private String gopayIntTxnCd;
    private int version;

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "FRAUD_ACCT_OPERAT_LOGS_SEQ")
    @SequenceGenerator(name = "FRAUD_ACCT_OPERAT_LOGS_SEQ", allocationSize = 1, initialValue = 1, sequenceName = "FRAUD_ACCT_OPERAT_LOGS_SEQ")
    @Column(name = "LOG_ID")
    public int getLogId() {
        return LogId;
    }

    public void setLogId(int logId) {
        LogId = logId;
    }

    @Column(name = "ACCT_ID")
    public String getAcctId() {
        return acctId;
    }

    public void setAcctId(String acctId) {
        this.acctId = acctId;
    }

    @Column(name = "OPERATION_TYPE")
    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    @Column(name = "AMOUNT")
    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    @Column(name = "LOCK_TYPE")
    public String getLockType() {
        return lockType;
    }

    public void setLockType(String lockType) {
        this.lockType = lockType;
    }

    @Column(name = "OPERA_RES")
    public String getOperaRes() {
        return operaRes;
    }

    public void setOperaRes(String operaRes) {
        this.operaRes = operaRes;
    }

    @Column(name = "GMT_CREATE")
    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Column(name = "GMT_MODIFY")
    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    @Column(name = "GOPAY_ORDER_ID")
    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }
    @Column(name = "GOPAY_INT_TXN_CD")
    public String getGopayIntTxnCd() {
        return gopayIntTxnCd;
    }

    public void setGopayIntTxnCd(String gopayIntTxnCd) {
        this.gopayIntTxnCd = gopayIntTxnCd;
    }

    @Version
    @Column(name = "VERSION")
    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }
}
